package com.hfdg;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName TestCtrl
 * @Description TODO
 * @Author yuelh
 * @Date 2020-2-4 0:31
 * @Version 1.0
 * @Company 会飞的锅工作室
 **/
@Controller
@RequestMapping("/test")
public class TestCtrl {
    @RequestMapping("/")
    public String base(){
       return "base";
    }
    @RequestMapping("/toProcessView/{view}")
    public String toView(@PathVariable String view){

        return "/commons/process/template/"+view;
    }
}
